//
// Created by mmuee on 2024/5/29.
//

#ifndef MCU_LAB_IODEVICE_HPP
#define MCU_LAB_IODEVICE_HPP


class IODevice
{
public:
    virtual ~IODevice() = default;

    /// 读取数据
    virtual void read(int option) = 0;

    /// 刷新数据到设备
    virtual void flush(int option) = 0;
};


#endif //MCU_LAB_IODEVICE_HPP
